#include <Pin_Model.h>

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

Pin_Model led_pin(led);

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  led_pin.set_pin_mode(1);
  
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  led_pin.set_pin_high();   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  
  led_pin.set_pin_low();    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  
  // Test get_pin_id
  int pin_id = led_pin.get_pin_id();
  
  Serial.print("PIN ID: ");
  Serial.println(pin_id);
}

